package com.xiaoqi.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
@Controller
public class HelloJSPController {

    @RequestMapping("/helloSP")
    public ModelAndView getHelloJsp(){
        ModelAndView mo = new ModelAndView();
        mo.addObject("message","helloJSP");
        mo.setViewName("HelloJSP");
        return mo;
    }

}
